import { defineStore } from 'pinia'
import { ref } from 'vue';
export const useTitleStore = defineStore('title', () => {
  const activeTitle = ref('')
  // const doubleCount = computed(() => count.value * 2)
  function changeTitle(val) {
    console.log('val', val);
    activeTitle.value = val
  }
  return { activeTitle, changeTitle }
})